/**
 * 
 */
package ro.zalum.scjp6.objective1_1.food;

import ro.zalum.scjp6.objective1_1.*;



public class Fruit {
	
	public Fruit(){
		
	}
	 int x;
	  {
		//x = 3; 
	 }
	 public Fruit(int x){
		 x = x;		 
		 return;
	 }
	 strictfp static public void main(String args []){
		Fruit apple = new Apple(2);
		TestInterface tstInter = new Apple(1);
		byte a =9;
		byte c = (byte)-60L;
		float f = 100;
		double d = 100.f;
		long l = 10000000;
		byte x = (byte)(a*c);
		System.out.println("c="+c);
		Fruit.foo(2);
		apple.makeFruit();
		System.out.println(x);
	}
	
	static void exercise3_1(){
		float f = 123.2f;
		short s = (short)f;
		byte b =3;
		b+=123337;
	}

	
	static void foo(final long x){
		//x++;
		System.out.println(x);
		Fruit fruit = new Apple(1);
		fruit.foo1(1,2,new Integer[]{1,23,33});
	}
	public void foo1(int y,Integer x,Integer ...d){
		d[0] = 1;
		d = new Integer[3];
		x++;
		y++;
	}
	
	
	public  int makeFruit(Fruit ... f){
		return 1;
	}
	
	public  int makeFruit(){
		System.out.println("make general fruit");
		return 1;
	}
}
